package com.common.ex;

import com.common.ex.myException.MyException;
import lombok.Getter;
import com.common.result.ResultEnum;

@Getter
public class UserException extends MyException {
    private Integer errorCode;
    private String message;
    public UserException(ResultEnum resultEnum){
        errorCode=resultEnum.getCode();
        message=resultEnum.getMessage();
    };



}
